<template>
  <div class="cho-box">
    <div class="cho">
      <h2>精彩合集</h2>
      <p>
        全部
        <span class="iconfont icon-youjiantou-copy"></span>
      </p>
    </div>

    <div class="gain">
      <img src="../../assets/img/svip1.jpg" alt="" />
      <label class="iconfont icon-zuanshi">
        <i>SVIP</i>
      </label>
      <p>
        奶fufu温柔治愈合集
        <span>获取</span>
      </p>
    </div>

    <div class="gain">
      <img src="../../assets/img/svip2.jpg" alt="" />
      <label class="iconfont icon-zuanshi">
        <i>SVIP</i>
      </label>
      <p>
        复古少女又上线辽~
        <span>获取</span>
      </p>
    </div>
    <!-- <div class="hot-box">
      <h2>热门模板</h2>
    </div> -->
  </div>
</template>

<script>
export default {
  name: "VipChoice",
};
</script>

<style scoped>
/* @import url(../../assets/font_3120944_vffe3j0uc/iconfont.css);
@import url(../../assets/font_3140785_kqxah9f035p/iconfont.css); */

.cho-box {
  widows: 100%;
  height: 5rem;
  background-color: white;
}

.cho {
  width: 100%;
  height: 0.38rem;
  padding: 0 0.23rem 0 0.12rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
.cho h2 {
  font-size: 0.16rem;
}
.cho p,
.icon-youjiantou-copy {
  font-size: 0.13rem;
  margin-left: 0.06rem;
  color: #cacaca;
}

.gain {
  width: 3.38rem;
  height: 2.02rem;
  /* background-image: url(../../assets/img/svip1.jpg); */
  margin: auto;
  background-size: cover;
  position: relative;
  /* top: .1rem; */
  /* margin-top: .2rem; */
  margin-bottom: 0.15rem;
}
/* gain:nth-child(2){
    margin-top: .5rem;
} */
.gain img {
  width: 100%;
  height: 100%;
}
.gain .icon-zuanshi {
  position: absolute;
  top: 0.08rem;
  left: 0.08rem;
  width: 0.5rem;
  height: 0.18rem;
  border-radius: 0.1rem;
  display: inline-block;
  background: -webkit-linear-gradient(left, #f3bfd5, #c996fb);
  color: white;
  font-size: 0.1rem;
  text-align: center;
  font-weight: bold;
  line-height: 0.18rem;
  /* display: flex; */
}
.gain p {
  width: 100%;
  height: 0.46rem;
  font-size: 0.14rem;
  color: #ebe9f1;
  position: absolute;
  left: 0px;
  bottom: 0px;
  font-weight: bold;
  line-height: 0.46rem;
  padding: 0 0.12rem;
  box-sizing: border-box;
}
.gain p span {
  width: 0.6rem;
  height: 0.28rem;
  display: inline-block;
  background-color: #d7d7f3;
  line-height: 0.28rem;
  float: right;
  border-radius: 0.15rem;
  text-align: center;
  margin-top: 0.1rem;
  opacity: 0.5;
  color: white;
}
.hot-box {
  widows: 100%;
  height: 0.56rem;
  /* margin-bottom: .1rem; */
  /* background-color: #ffe9b8; */
}

.hot-box h2 {
  width: 100%;
  height: 100%;
  padding: 0.17rem 0 0.2rem 0.12rem;
  box-sizing: border-box;
  font-size: 0.16rem;
  /* background-color: pink; */
}
</style>